import request from '@/utils/request'

/* 水效领跑者建设台账表 */
// 列表查询
const waterEffectConstructionList = function (params = {}) {
  return request({
    url: '/zy-api/api/effect/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addWaterEffectConstruction = function (params = {}) {
  return request({
    url: '/zy-api/api/effect/insert',
    method: 'post',
    data: params
  })
}

// 修改
const editWaterEffectConstruction = function (params = {}) {
  return request({
    url: '/zy-api/api/effect/update',
    method: 'post',
    data: params
  })
}

// 删除
const delWaterEffectConstruction = function (params = {}) {
  return request({
    url: '/zy-api/api/effect/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditWaterEffectConstruction = function (params = {}) {
  return request({
    url: '/zy-api/api/effect/review',
    method: 'post',
    data: params
  })
}

export {
  waterEffectConstructionList,
  addWaterEffectConstruction,
  editWaterEffectConstruction,
  delWaterEffectConstruction,
  auditWaterEffectConstruction
}